package data.dataStruct;

import com.google.gson.Gson;

import java.util.ArrayList;
import java.util.List;

//带id的数据结构
public class DataStruct {
    private String id;
    private String data;

    public DataStruct(String id, String data){
        this.id=id;
        this.data = data;
    }

    public String getId() {
        return id;
    }

    public String getData() {
        return data;
    }

    @Override
    public String toString() {
        return "{'id':'"+id+"','data':'"+data+"'}";
    }
}
